# growth rates
( si=5; echo "Sampling at $si s"; while ((1)); do  tail /c/igloo.log; s0=$(stat --format="%s" igloo.log); sleep $si; s1=$(stat --format="
%s" igloo.log); gr=$(( $(( $s1 - $s0 )) / $(( $si * 1024)) )); eg=$(( $(( $gr * 86400 )) / 1024 )); echo "Rate=$gr KB/s
=$eg MB/day"; done )